<?php
/**
 * Created by JetBrains PhpStorm.
 * User: feizheng
 * Date: 13-3-24
 * Time: 上午12:09
 * To change this template use File | Settings | File Templates.
 */
//https://code.google.com/p/php-console/
require_once '../formatter/HTMLFormatter.class.php';
include_once 'HtmlBase.php';
class HtmlMdlBase extends HtmlBase
{
    public function ulStart()
    {

    }
}

//PhpConsole::start();

// test
//debug('test message');

$f = new HTMLFormatter();

$helper = new HtmlMdlBase();
echo $helper->commentStart('#ddtest');
$html = $helper->tagStart('ul', array("id" => "test")) . $helper->tagEach('li', 10, 'testContet',
    array("class" => "item")) . $helper->tagEnd('ul');
//echo $f->format($html);
echo $html;
echo $helper->commentEnd();

echo $helper->commentStart('#afei');
$html = $helper->tagStart('ul', array("id" => "test")) . $helper->tagEach('li', 2, 'testCosdafsdafsadfntet',
    array("class" => "item")) . $helper->tagEnd('ul');
//echo $f->format($html);
$helper->setContent($html);
echo $helper->commentEnd();
echo $helper->wrap('div', array('class' => 'testWrap'), "SomeText...");